package com.angel.service.ServiceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.angel.bean.ItemList;
import com.angel.mapper.ItemListDao;
import com.angel.service.ItemListService;

@Service
public class ItemListServiceImpl implements ItemListService{

    @Resource
    private ItemListDao itemListDao;

    @Override
    public int insert(ItemList itemList){
        return itemListDao.insert(itemList);
    }

    @Override
    public int insertSelective(ItemList itemList){
        return itemListDao.insertSelective(itemList);
    }

    @Override
    public int insertList(List<ItemList> itemLists){
        return itemListDao.insertList(itemLists);
    }

    @Override
    public int update(ItemList itemList){
        return itemListDao.update(itemList);
    }
}
